package com.pg_chat.service;

import com.pg_chat.model.UserEntity;

import java.util.HashMap;

public interface UserService {

    boolean verify(String userName,String password);

    boolean verifyMD5(String userName,String password);

    boolean isAccountUsed(String account);

    boolean updateUserInfo(UserEntity user);

    UserEntity userMsgByName(String userNAme);

    UserEntity userMsg(String account);

    HashMap<String, String> registerCheck(UserEntity user);



}
